package org.example.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@Builder

public class Driver implements Serializable {

    private String id;

    /**
     * 通知人
     */
    private String username;

    /**
     * 部门
     */
    private String deptname;

    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime created;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private String status;
    /**
     *加工商id
     */
    private Integer businessId;
    /**
     *仓库id
     */
    private Integer materialHouseId;
    /**
     *农产品id
     */
    private Integer cropId;
    /**
     *入库数量
     */
    private Integer warehousingNum;
    private Integer uid;


}